home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / virus / tbav609.zip / MAKERESC.BAT < prev    next >
DOS Batch File  |  1993-12-06  |  2KB  |  66 lines

  1. @echo off
  2. echo off
  3. if %1X==X goto help1
  4. if not exist %1\Command.Com goto help2
  5. if exist TbScan.Exe goto tbavdir
  6. cd \tbav
  7. if not exist TbScan.Exe goto help3
  8. :tbavdir
  9. echo Copying TBAV utilities to drive %1, please wait...
  10. Copy TBAV.Exe %1 >nul
  11. Copy TBAV.Lng %1 >nul
  12. Copy TbScan.Exe %1 >nul
  13. Copy TbScan.Lng %1 >nul
  14. Copy TbScan.Sig %1 >nul
  15. Copy TbDriver.Exe %1 >nul
  16. Copy TbDriver.Lng %1 >nul
  17. Copy TbCheck.Exe %1 >nul
  18. Copy TbClean.Exe %1 >nul
  19. Copy TbUtil.Exe %1 >nul
  20. Copy TbUtil.Lng %1 >nul
  21.  
  22. TbUtil store %1\TbUtil.Dat
  23.  
  24. Echo Files=20 >%1\Config.Sys
  25. Echo Buffers=20 >>%1\Config.Sys
  26. If exist TbDriver.Exe Echo Device=TbDriver.Exe >>%1\Config.Sys
  27. If exist TbCheck.Exe Echo Device=TbCheck.Exe FullCRC >>%1\Config.Sys
  28.  
  29. Echo @echo off >%1\AutoExec.Bat
  30. Echo echo off >>%1\AutoExec.Bat
  31. Echo PATH=A:\ >>%1\AutoExec.Bat
  32. If exist TBAV.EXE Echo TBAV >>%1\AutoExec.Bat
  33. Echo Cls >>%1\AutoExec.Bat
  34. Echo Echo WARNING!!! >>%1\AutoExec.Bat
  35. Echo Echo If you suspect a virus, do NOT execute anything from the hard disk! >>%1\AutoExec.Bat
  36.  
  37. Echo The rescue diskette is almost ready!
  38. Echo TbSetup will now generate the Anti-Vir.Dat file for drive %1
  39. Pause
  40. TbSetup %1
  41.  
  42. CLS
  43. Echo The rescue diskette is now ready.
  44. Echo If you need to copy other utilities to the disk, you can do so now.
  45. Echo If you do so, do not forget to run TbSetup %1 when ready.
  46. Echo.
  47. Echo MAKE SURE THE DISK IN DRIVE %1 IS WRITE PROTECTED!
  48.  
  49. goto end
  50.  
  51. :help1
  52. Echo Please specify the drive which contains the rescue diskette!
  53. goto end
  54.  
  55. :help2
  56. Echo The disk in drive %1 should be bootable. You can make the disk
  57. Echo bootable by using the command: SYS %1
  58. goto end
  59.  
  60. :help3
  61. Echo Can not locate the TBAV utilities.
  62. Echo Please make the directory that contains the TBAV utilities the
  63. Echo current directory!
  64.  
  65. :end
  66.